# -*- coding: utf-8 -*-
"""
Comment:
	
	
"""

import numpy as np
import itertools as it
nRes = 3
resources = np.arange(nRes)
products = np.arange(6)
capcon = np.array([[1,0,0],[1,0,0],[0,1,0],[0,1,0],[0,0,1],[0,0,1]])  
segments = np.arange(2)
segLambdas = np.array([[0.5],[0.3]])
nProducts = products.size
nSegments = segments.size
offerSets = np.array(list(it.product([0,1], repeat=nProducts)))
os2=np.copy(offerSets)    

#Network & Customer Data - (possibility of being) variable
segScale = np.array([20,15])                                                   #beta
segQ = np.array([[75,-70],[75,120],[225,0],[225,300],[430,0],[430,555]]) 
cap = np.array([[60],[30],[10]])                                             #capacity
prices = np.array([[50],[110],[230],[285],[450],[560]])
a = np.max((segQ[:,0]-prices[:,0]))/segScale[0]
b = np.max((segQ[:,1]-prices[:,0]))/segScale[1]

nTimeperiods = 150                                     
timeperiods = np.arange(nTimeperiods) 
